package com.bjpowernode.entities;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 客户表实体类，用于存储客户的详细信息。
 *
 * @author 刘佳奇
 * @version v1.0
 */
@Data
public class TCustomer implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID，自增
     */
    private Integer id;
    /**
     * 关联线索ID
     */
    private Integer clueId;
    /**
     * 关联产品ID
     */
    private Integer product;
    /**
     * 客户描述
     */
    private String description;
    /**
     * 下次联系时间
     */
    private Date nextContactTime;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建人ID
     */
    private Integer createBy;
    /**
     * 编辑时间
     */
    private Date editTime;
    /**
     * 编辑人ID
     */
    private Integer editBy;
    private TUser ownerDO = new TUser();
    private TActivity activityDO = new TActivity();
    private TClue clueDO = new TClue();
    private TDicValue appellationDO = new TDicValue();
    private TDicValue needLoanDO = new TDicValue();
    private TDicValue intentionStateDO = new TDicValue();
    private TProduct intentionProductDO = new TProduct();
    private TDicValue sourceDO = new TDicValue();
    private TUser createByDO = new TUser();
    private TUser editByDO = new TUser();
}
